﻿function foo(a,b){return a!==null&&typeof b=="string"?a+b:""}